home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
spdlodrs
/
fastload.arc
/
README
< prev
Wrap
Text File
|
1989-03-29
|
1KB
|
18 lines
Remember the discussion about the slow null filling routine TOS uses after
loading a program? Here's a nice small, fast and, what you hackers will like
most, dirty piece of code I made yesterday evening. It just eliminates the
null fill (there could be a 1/(vbls/sec) delay %-) and is guaranteed NOT to
work on all ROM versions 8-).
The main problem will be the addresses (start, end) of the fill-routine in ROM.
If you know them, you can substitute them (fillhigh and filllow). I don't have
other ROM's or disassemblies. Maybe someone else can pop up a more general
solution?
The central function is fastload, that checks if the PC is the critical region;
if so, D5 will be given a big value on return from the VBL interrupt, which
causes the fill routine to end.
The search for a zero VBL pointer starts at the queue address + 4, because I
suspect some program (maybe it's GEM) to write a vector at queue_address[0],
no matter what is already there. Now fastload.prg can be put into the AUTO
folder.